﻿<Page x:Class="Client.View.StartPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
      mc:Ignorable="d" 
      
      d:DesignHeight="768" d:DesignWidth="1024"
	Title="MainPage">
    <Page.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>

                <ResourceDictionary Source="/Icons.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colours.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.AnimatedSingleRowTabControl.xaml" />

                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Red.xaml" />


                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>

    </Page.Resources>
    <Grid Width="330">
        <WrapPanel HorizontalAlignment="Center" VerticalAlignment="Center" >
            <WrapPanel.Resources>
                <Style TargetType="Controls:Tile"  >
                    <Setter Property="Width"  Value="150"/>
                    <Setter Property="Height"  Value="150"/>
                </Style>

            </WrapPanel.Resources>
            <Controls:Tile Margin="10" Title="Login to Start" Click="Login" Opacity="1"  >
                <Controls:MetroImage Source="{DynamicResource appbar_connect}" Margin="15"  />
            </Controls:Tile>
            <Controls:Tile Margin="10" Title="Create an Account"  Click="Singup"  >
                <Controls:MetroImage Source="{DynamicResource appbar_user_add}" Margin="15"  />
            </Controls:Tile>
            <Controls:Tile Margin="10" Title="Connect Directly"  Click="DirectConnect" >
                <Controls:MetroImage Source="{DynamicResource appbar_network}" Margin="15"  />
            </Controls:Tile>

            <!--<Controls:Tile Margin="10" Title="Add University" Count="0" >
                    <Controls:MetroImage Source="{DynamicResource appbar_layer_add}" Margin="15"  />
                </Controls:Tile>-->
        </WrapPanel>
        <!--<map:Map CredentialsProvider="AvdyIuy5zIEyqq0tVaQbyCCD0CPwPVjwforr5h0-zhNQca9ONsoG_9wDBAxHyNDs" Margin="0,0,586,334" Name="a">
                <map:Pushpin Name="ppin" Cursor="Hand" ></map:Pushpin>

            </map:Map>-->
    </Grid>
</Page>
